﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Elastic_EF.Models
{
    [Table("OperateLog")]
    public class OperateLog
    {
        /// <summary>
        /// 
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 操作类型  1 红包操作 2 活动项目 3 付款操作 4 商户操作 
        /// </summary>
        public int OperateType { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public long CreatorId { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 日志消息
        /// </summary>
        public string Remark { get; set; }
    }
}
